cmake_minimum_required(VERSION 3.0)
project(RPCCOMMUNICAION)

#设置编译选项
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -g)

set(CMAKE_CXX_STANDARD 11)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/example)
include_directories(${PROJECT_SOURCE_DIR}/example/callee)

#这个lib目录会存放我们最终生成的Rpc框架，打包成一个个目录
link_directories(${PROJECT_SOURCE_DIR}/lib)

#add_subdirectory(src)
add_subdirectory(example)





